package book_manage_system.opera;

import book_manage_system.book.BookList;

public class ShowOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("显示所有图书信息");
        int currentSize = bookList.getUsedSize();
        for (int i = 0; i < currentSize; i++) {
            //bookList.getBooks();
            System.out.println(bookList.getBooks(i));
        }
    }
}
